package com.hqd.ch03.bean;

import lombok.Data;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

/**
 * 这是一个测试类
 */
@Data
public class Car {
    private String brand;
    private double price;

    public void init(String from) {
        try {
            FileInputStream fileInputStream = new FileInputStream("aa.txt");
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        System.out.println(from);
    }

}

